package com.example;

import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface SpotMediaRep extends MongoRepository<SpotMedia,String>{
	 SpotMedia findByName(String name);
	 
//	  Page<SpotMedia> find(Criteria criteria, Pageable pageable);
}
